﻿<%@ Page Title="Reset User Password :: Re-SeSS" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="ResetPassword.aspx.cs" Inherits="ReSeSSApplication.ResetPassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"></asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="bodyContent" runat="server">


    <script type="text/javascript">
    jQuery(document).ready(function () {
        jQuery('#ResetPasswordForm #bodyContent_txtNewPassword').focus();
    });
	</script>
    
    <div class="row">
        <div class="span8 offset2">
        	<div class="well login-form" id="ResetPasswordForm">
            
            	<div class="alert alert-success" id="AlertSuccess" runat="server"></div>
                <div class="alert alert-error" id="AlertError" runat="server"></div>
            
                <div class="form-horizontal" id="ResetPasswordFormDiv" runat="server">
                    <fieldset>
                    
                        <legend>Enter New Password</legend>
                        
                        <div class="control-group">
                            <asp:Label ID="lblNewPassword" runat="server" Text="New Password" AssociatedControlID="txtNewPassword" CssClass="control-label"></asp:Label>
                            <div class="controls">
                                <asp:TextBox ID="txtNewPassword" runat="server" CssClass="input-large" TextMode="Password"></asp:TextBox>
                                <p class="help-inline"></p>
                        	</div>
                        </div>

                        <div class="control-group">
                            <asp:Label ID="lblConfirmNewPassword" runat="server" Text="Confirm New Password" AssociatedControlID="txtConfirmNewPassword" CssClass="control-label"></asp:Label>
                            <div class="controls">
                                <asp:TextBox ID="txtConfirmNewPassword" runat="server" CssClass="input-large" TextMode="Password"></asp:TextBox>
                                <p class="help-inline"></p>
                        	</div>
                        </div>
                        
                        <div class="form-actions">
                            <asp:Button ID="ResetPasswordButton" runat="server" CssClass="btn btn-primary" 
                                Text="Reset Password" onclick="ResetPasswordButton_Click" />&nbsp;&nbsp;&nbsp;
                            <a href="Index.aspx">Login</a>
                        </div>
                        
                    </fieldset>
                </div>
                
            </div>
        </div>
    </div><!--body ends-->


</asp:Content>
